package by.yakusekmaxim.bookgid.dataaccess;

import java.util.List;

import javax.persistence.metamodel.SingularAttribute;

import by.yakusekmaxim.bookgid.datamodel.Image;

public interface ImageDao extends AbstractDao<Long, Image> {
	Long getCount();

	List<Image> getAllImages(SingularAttribute<Image, ?> attr,
			boolean ascending, int startRecord, int pageSize);
}
